ElasticPress\Feature\Search\Weighting B

Total Complexity 89
Dependencies 1
Dependents 1
Total lines 711
Lines of code 391
Logical lines of code 180
Comment lines 243
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
recursively_inject_weights_to_fields()
B
42 20 49
save_weighting_configuration()
A
46 14 36
render_settings_section()
A
43 12 51
apply_weighting()
A
43 11 53
render_settings_page()
S
44 5 49
get_weightable_fields_for_post_type()
S
45 3 47
do_weighting()
S
60 5 12
post_type_has_fields()
S
55 4 19
get_post_type_default_settings()
S
50 3 31
handle_save()
S
60 4 12
adjust_weight_for_cross_fields()
S
69 3 6
setup()
S
64 2 9
get_weighting_configuration()
S
78 1 3
add_weighting_submenu_page()
S
65 1 10
redirect()
S
77 1 4